package net.oschina.tkj.chapter15.tuple;

public class ThreeTuple<A, B, C> {

	public final A a;
	public final B b;
	private final C c;

	public ThreeTuple(A a, B b, C c) {
		this.a = a;
		this.b = b;
		this.c = c;
	}

	public B getB() {
		return b;
	}

	public C getC() {
		return c;
	}

	public A getA() {
		return a;
	}

	@Override
	public String toString() {
		return "ThreeTuple [a=" + a + ", b=" + b + ", c=" + c + "]";
	}

}
